/**
 * <p>Copyright (c) 2011 深圳市鹏途信息技术有限公司 </p>
 * <p>				   All right reserved. 		     </p>
 * 
 * <p>项目名称 ： 	东莞交通工程质量监督综合业务系统        </p>
 * <p>创建者   :	liuyang 
 * 
 * <p>描   述  :   LabsPetition.java for com.pengtu.entity.business.labs    </p>
 * 
 * <p>最后修改 : $: 2011-10-20-下午8:06:33 v 1.0.0	 liuyang   $     </p>
 * 
*/

package com.pengtu.entity.business.labs;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.pengtu.entity.business.BasicPetition;

/**
 * 
 * LabsPetition
 * 
 * 2011-10-20 下午8:06:33
 * 
 * @version 1.0.0
 * 
 */
@Entity
@Table(name = "T_Q_CASE_LABS_PETITION")
public class LabsPetition extends BasicPetition {

	/**
	 * serialVersionUID:TODO
	 *
	 * @since 1.0.0
	 */
	
	private static final long serialVersionUID = 1L;
	
	private FlowLabsFiling flowLabsFiling;//流程ID
	private String labsName;//实验室名称
	/**
	 * flowLabsFiling
	 *
	 * @return  the flowLabsFiling
	 * @since   1.0.0
	 */
	@ManyToOne(targetEntity = FlowLabsFiling.class, fetch = FetchType.LAZY)
	@JoinColumn(name = "FID")
	public FlowLabsFiling getFlowLabsFiling() {
		return flowLabsFiling;
	}
	/**
	 * @param flowLabsFiling the flowLabsFiling to set
	 */
	public void setFlowLabsFiling(FlowLabsFiling flowLabsFiling) {
		this.flowLabsFiling = flowLabsFiling;
	}
	/**
	 * labsName
	 *
	 * @return  the labsName
	 * @since   1.0.0
	 */
	@Column(name="LABSNAME")
	public String getLabsName() {
		return labsName;
	}
	/**
	 * @param labsName the labsName to set
	 */
	public void setLabsName(String labsName) {
		this.labsName = labsName;
	}

}
